import request from '@/utils/request'

export function getMyPaperList(data) {
  return request({
    url: '/meeting_host/UserGetRelateHostMeeting',
    method: 'post',
    data
  })
}

export function thesis_add(data) {
  return request({
    url: '/meeting_host/addHostMeeting',
    method: 'post',
    data
  })
}

export function thesis_add2(data) {
  return request({
    url: '/meeting_host/UpdateHostMeeting',
    method: 'post',
    data
  })
}

export function thesis_delete(ID) {
  return request({
    url: '/meeting_host/DeleteHostMeeting',
    method: 'get',
    params: { ID }
  })
}

export function thesis_commit(ID) {
  return request({
    url: '/meeting_host/ReCommitHostMeeting',
    method: 'get',
    params: { ID }
  })
}

// 院级审核
export function get_thesis_xiaoji(data) {
  return request({
    url: '/meeting_host/SchoolUserGetHostMeeting',
    method: 'post',
    data
  })
}

export function thesis_pass_xiaoji(PID) {
  return request({
    url: '/meeting_host/SchoolCheckPass',
    method: 'get',
    params: { PID }
  })
}

export function thesis_back_xiaoji(data) {
  return request({
    url: '/meeting_host/SchoolCheckBack',
    method: 'post',
    data
  })
}
